<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="telephone=no" name="format-detection" />
    <title>控制中心</title>
    <link href="css/main.css" rel="stylesheet" type="text/css">
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <link href="css/shake.css" rel="stylesheet" type="text/css">
    <link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="css/animate.min.css" rel="stylesheet" type="text/css">
    <link href="css/idangerous.swiper.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="js/wo.js"></script>
    <style>
        .search{font-size: 1.4rem;}
    </style>
</head>
<body>
<div class="warpe">
    <div class="reveal-modal-bg dis_none"></div>
    <div class="head">
        <a href="#" class="return"><i class="icon-chevron-left"></i> 返回</a>
        控制中心
        <a href="My_equipment_add.html" class="search" id="dateinput3"><i class="icon-plus"></i> </a>
    </div>
    <div class="tabs eq_tab">
        <a href="#" hidefocus="true" class="active">
            <span><img src="img/icon_cysb.png"></span>
            <span>常用设备</span>
        </a>
        <a href="#" hidefocus="true">
            <span><img src="img/icon_sysb.png"></span>
            <span>所有设备</span>
        </a>
        <a href="#" hidefocus="true">
            <span><img src="img/icon_jjqy.png"></span>
            <span>家居区域</span>
        </a>
    </div>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <div class="content-slide">
                    <div class="eq_div">
                        <div class="s_list">
                            <ul>
                                <li class="animated fadeInRight">
                                    <img src="img/icon_dzg.png">
                                    <div class="s_l_l">
                                        <p>红外电子狗</p>
                                        <p><font>离线</font></p>
                                        <span>客厅</span>
                                    </div>
                                </li>
                                <li class="animated fadeInLeft">
                                    <img src="img/icon_ddcl.png">
                                    <div class="s_l_l">
                                        <p>红外探测器</p>
                                        <p><font class="color_g2">启用</font></p>
                                        <span>客厅</span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="swiper-slide">
                <div class="content-slide">
                    <div class="eq_div">
                        <div class="s_list">
                            <ul>
                                <li class="animated fadeInRight">
                                    <img src="img/icon_dzg.png">
                                    <div class="s_l_l">
                                        <p>红外电子狗</p>
                                        <p><font>离线</font></p>
                                        <span>客厅</span>
                                    </div>
                                </li>
                                <li class="animated fadeInLeft">
                                    <img src="img/icon_ddcl.png">
                                    <div class="s_l_l">
                                        <p>红外探测器</p>
                                        <p><font class="color_g2">启用</font></p>
                                        <span>客厅</span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="swiper-slide">
                <div class="content-slide">
                    <div class="eq_list">
                        <ul>
                            <li>
                                <a href="#">
                                    <span class="puff_left"><img src="img/icon_mrfj.png"></span>
                                    <span class="puff_left">默认房间</span>
                                    <span class="puff_right"><i class="icon-angle-right icon-2x"></i> </span>
                                    <span class="puff_right"><font>0/0</font></span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="puff_left"><img src="img/icon_kt.png"></span>
                                    <span class="puff_left">客厅</span>
                                    <span class="puff_right"><i class="icon-angle-right icon-2x"></i> </span>
                                    <span class="puff_right"><font>1/5</font></span>
                                </a>
                            </li>
                            <li>
                                <a href="My_equipment_add.html">
                                    <span class="puff_left"><img src="img/icon_add.png"></span>
                                    <span class="puff_left">添加</span>
                                    <span class="puff_right"><i class="icon-angle-right icon-2x"></i> </span>
                                    <span class="puff_right"></span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="js/idangerous.swiper.min.js"></script>
<script type="text/javascript">
    var tabsSwiper = new Swiper('.swiper-container',{
        speed:500,
        onSlideChangeStart: function(){
            $(".tabs .active").removeClass('active');
            $(".tabs a").eq(tabsSwiper.activeIndex).addClass('active');
        }
    });
    $(".tabs a").on('touchstart mousedown',function(e){
        e.preventDefault()
        $(".tabs .active").removeClass('active')
        $(this).addClass('active')
        tabsSwiper.slideTo( $(this).index() )
    })
    $(".tabs a").click(function(e){
        e.preventDefault()
    })
</script>
</body>
</html>